<?

require_once("log/LoggerCategory.php");

class LoggerManager {

    private static $category = null;

    public static function getLogger($name) {

//        if(self::$category === null) {
            self::$category = new LoggerCategory(LOGPATH);
            self::$category->setLevel(LOGLEVEL);
//        }

        self::$category->setName($name);
        
        return self::$category;

    }

}

?>
